package com.erji.admin.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description
 *
 * @Author Lynkin
 * @Date 2023/12/17
 */
@ApiModel(value = "小程序登录返回结果", description = "小程序登录返回结果")
public class AppletLoginResultVO {

    @ApiModelProperty("会话密钥")
    private String sessionKey;

    @ApiModelProperty("用户唯一标识")
    private String openId;

    @ApiModelProperty("用户在开放平台的唯一标识符")
    private String unionId;

    @ApiModelProperty("token")
    private String token;

    public AppletLoginResultVO() {
    }

    public AppletLoginResultVO(String sessionKey, String openId, String unionId, String token) {
        this.sessionKey = sessionKey;
        this.openId = openId;
        this.unionId = unionId;
        this.token = token;
    }

    public String getSessionKey() {
        return sessionKey;
    }

    public void setSessionKey(String sessionKey) {
        this.sessionKey = sessionKey;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public String getUnionId() {
        return unionId;
    }

    public void setUnionId(String unionId) {
        this.unionId = unionId;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }
}
